package com.cn.wanxi.service;

import com.cn.wanxi.model.NavModel;
import com.cn.wanxi.model.PageModel;

import java.util.List;
import java.util.Map;

public interface INavService {

    int addNav(NavModel navModel);

    int deleteNav(int id);

    int editNav(NavModel navModel);

    List<NavModel> getNavList();

    NavModel getNav(int id);

    PageModel<NavModel> getNavs(Map<String ,Object> map);

    int updateShow(int id, int show);
}
